﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MovieRental.Entities;

namespace MovieRental.BuisnessComponents.Exceptions
{
    public class RegexException : DataValidationException
    {
        public RegexException(BaseEntity<Guid> obj, string fieldName)
            :base("The \"{0}\" field of \"{1}\" doesn't match the required parameters.", obj, fieldName, null)
        {
        }

    }
}
